//
//  XDLMInvestThreeTableViewCell.m
//  xindailianmeng
//
//  Created by 许佳奇 on 17/2/10.
//  Copyright © 2017年 xindailianmeng.cn. All rights reserved.
//

#import "XDLMInvestThreeTableViewCell.h"
#define TCOLOR [UIColor colorWithRed:187.0/255.0 green:147.0/255.0 blue:115.0/255.0 alpha:1]
@implementation XDLMInvestThreeTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setUI];
    }
    return self;
}
- (void)setUI
{
    UIView *firstView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreenW, 39*kscale)];
    firstView.backgroundColor = [UIColor whiteColor];
    UILabel *youLab = [[UILabel alloc] initWithFrame:CGRectMake(27, 11*kscale, 80*kscale, 18*kscale)];
    youLab.text = @"推荐散标";
    youLab.textColor = TCOLOR;
    youLab.font = [UIFont systemFontOfSize:16];
    [firstView addSubview:youLab];
    
    UIButton *InfoBtn = [[UIButton alloc] initWithFrame:CGRectMake(kScreenW - 85*kscale, 13*kscale, 80*kscale, 15*kscale)];
    [InfoBtn setTitle:@"查看更多" forState:UIControlStateNormal];
    [InfoBtn setTitleColor:[UIColor grayColor] forState:UIControlStateNormal];
//    [InfoBtn addTarget:self action:@selector(InfoBtnClick) forControlEvents:UIControlEventTouchUpInside];
    InfoBtn.titleLabel.font = [UIFont systemFontOfSize:12];
    [firstView addSubview:InfoBtn];
    
    [self addSubview:firstView];

}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
